import { combineReducers } from 'redux'
import AuthReducer from './AuthReducer'
import PublicationReducer from './PublicationReducer'
import SearchArtistsReducer from './SearchArtistsReducer'
import SearchMembersReducer from './SearchMembersReducer'
import FollowReducer from './FollowReducer'
import CommunityReducer from './CommunityReducer'
import LoadingReducer from './LoadingReducer'
import CoverReducer from './CoverReducer'
import PodcastsReducer from './PodcastsReducer'
import PlaysReducer from './PlaysReducer'
import PlaylistReducer from './PlaylistReducer'
import LiveFeedReducer from './LiveFeedReducer'
import DiscoverReducer from './DiscoverReducer'

// COMBINED REDUCERS
const reducers = {
    cover: CoverReducer,
    publication: PublicationReducer,
    plays: PlaysReducer,
    playlist: PlaylistReducer,
    liveFeed: LiveFeedReducer,
    discover: DiscoverReducer,
    auth: AuthReducer,
    podcasts: PodcastsReducer,
    searchArtists: SearchArtistsReducer,
    searchMembers: SearchMembersReducer,
    follow: FollowReducer,
    community: CommunityReducer,
    loading: LoadingReducer
}

export default combineReducers(reducers)